<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
 <%@ include file="taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
<script type="text/javascript" src="${base}/pages/common/js/jquery-1.12.4.js"></script>
<script type="text/javascript"  src="${base}/pages/common/js/ajaxTool.js"></script>
<script type="text/javascript"  >
var ajaxTest =function(){
	$.Ajax("${base}/user/toErrorJson.action",
			{},true,"POST","json",function(res){
				console.log(res);
			},function(e){
				console.log(e)
			}
			
	);
}
</script>
</head>
<body>
	<div >
		<button type="button" onclick="ajaxTest()" value="ajax测试">ajax测试</button>
	</div>
</body>

</html>